projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbaa90
)
(Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
author
Karl Heuer
<kwzh@gnu.org>
Wed, 24 Jul 1996 04:21:31 +0000
(
04:21
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 24 Jul 1996 04:21:31 +0000
(
04:21
+0000)
since timezone environment variable is ignored.
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index 164ee9c6e807c1a540cecf22a8a109b0f63799ab..7e9a798c4e2aa4c6919449ecf5a7819f60243510 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-765,6
+765,10
@@
If you want them to stand for years in this century, you must do that yourself."
sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0),
abszone / (60*60), (abszone/60) % 60, abszone % 60);
tzstring = tzbuf;
+#ifdef _NEXT_SOURCE
+ /* On NEXTSTEP, timezone environment var is ignored. */
+ tm.tm_gmtoff = -abszone;
+#endif
}
else
error ("Invalid time zone specification");